package com.example.pojo;

import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 面试安排表
* </p>
*
* @author wsl
* @since 2022-04-15
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("interview_arrange")
@ApiModel(value = "InterviewArrange对象", description = "面试安排表")
public class InterviewArrange implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("简历管理类型编号")
    private Integer resumeClassify;

    @ApiModelProperty("面试负责人编号")
    private Integer hr;

    @ApiModelProperty("面试日期")
    private LocalDate interviewDate;

    @ApiModelProperty("面试时间")
    @JsonFormat(pattern = "HH:mm",timezone = "Asia/Shanghai")
    private LocalTime interviewTime;

    @ApiModelProperty("面试岗位")
    private String position;

    @ApiModelProperty("面试形式")
    private Integer form;

    @ApiModelProperty("面试阶段")
    private Integer phase;

    @ApiModelProperty("面试阶段值")
    @TableField(exist = false)
    private String phaseName;

    @ApiModelProperty("面试形式值")
    @TableField(exist = false)
    private String formName;

    @ApiModelProperty("状态，是否发送面试")
    private Integer status;

    @ApiModelProperty("简历分类编号")
    private Integer resumeClassifyId;

    @ApiModelProperty("面试状态名称")
    @TableField(exist = false)
    private String statusName;

    @ApiModelProperty("面试结果")
    private Integer result;

    @ApiModelProperty("面试结果名称")
    @TableField(exist = false)
    private String resultName;

    @ApiModelProperty("记录")
    private String record;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

    @ApiModelProperty("简历")
    @TableField(exist = false)
    private Resume resume;
}
